home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
g_man
/
cat3
/
standard
/
pick.z
/
pick
Wrap
Text File
|
1998-10-20
|
3KB
|
67 lines
ppppiiiicccckkkk((((3333GGGG)))) ppppiiiicccckkkk((((3333GGGG))))
NNNNAAAAMMMMEEEE
ppppiiiicccckkkk - puts the system in picking mode
CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
vvvvooooiiiidddd ppppiiiicccckkkk((((bbbbuuuuffffffffeeeerrrr,,,, nnnnuuuummmmnnnnaaaammmmeeeessss))))
sssshhhhoooorrrrtttt bbbbuuuuffffffffeeeerrrr[[[[]]]];;;;
lllloooonnnngggg nnnnuuuummmmnnnnaaaammmmeeeessss;;;;
PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
_b_u_f_f_e_r expects the array to use for storing names.
_n_u_m_n_a_m_e_s expects the maximum number of names to store. This must not
exceed the number of elements in _b_u_f_f_e_r.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
ppppiiiicccckkkk facilitates the cursor as a pointing object. When you draw an image
in picking mode, nothing is drawn. It places a special viewing matrix on
the stack, which discards everything in the image that does not intersect
a small region around the cursor origin.
The graphical items that intersect the picking region are hits and store
the contents of the name stack in _b_u_f_f_e_r. Picking does not work if you
issue a new viewport in picking mode.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
endpick, endselect, gselect, picksize, pushname, popname, loadname
NNNNOOOOTTTTEEEE
This routine is available only in immediate mode.
In order to pick a large point or a wide line in picking mode, the
selecting region must intersect the displayed point center or the
displayed line center respectively. The displayed point center is the
imaginary point of size 1 specified by the same vertex as the displayed
point. The displayed line center is the imaginary line of width 1
specified by the same vertices as the displayed line. In case of a very
large point or very wide line, you may want to consider drawing a filled
circle or a filled rectangle respectively instead.
PPPPaaaaggggeeee 1111